package com.zmc.order.feign;

import com.zmc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author：zmc
 * @Date：2024/11/7 16:09
 */

@FeignClient("mall-member")
public interface MemberFeignService {

    @RequestMapping("/member/cart/selected")
    public R clearHasSelected();


    @GetMapping("/member/address/info/{id}")
    public R receiveAddressInfo(@PathVariable("id") Long id);


}
